package com.ruicar.afs.cloud.basic.creditchange.condition;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author chuke
 * @create 2020/7/28 19:47
 */
@Data
public class RepaymentCondition {

    @ApiModelProperty("合同号")
    private String contractNo;

    @ApiModelProperty("期数")
    private Integer termNo;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("应还款日期")
    private Date newDueDate;

}
